+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
+ "direction-changed" and "keys-changed" signals.
+
+ * gdk/gdkscreen.c (gdk_screen_class_init): Document the
+ "size-changed" signal.
+
+ * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
+ Document the "display-opened" signal.
+
+ * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
+ (gdk_display_class_init): Document the "closed" signal.
+
Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktextview.[ch]: rename property tab_moves_focus to
+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
+ "direction-changed" and "keys-changed" signals.
+
+ * gdk/gdkscreen.c (gdk_screen_class_init): Document the
+ "size-changed" signal.
+
+ * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
+ Document the "display-opened" signal.
+
+ * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
+ (gdk_display_class_init): Document the "closed" signal.
+
Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktextview.[ch]: rename property tab_moves_focus to
+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
+ "direction-changed" and "keys-changed" signals.
+
+ * gdk/gdkscreen.c (gdk_screen_class_init): Document the
+ "size-changed" signal.
+
+ * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
+ Document the "display-opened" signal.
+
+ * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
+ (gdk_display_class_init): Document the "closed" signal.
+
Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktextview.[ch]: rename property tab_moves_focus to
+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
+ "direction-changed" and "keys-changed" signals.
+
+ * gdk/gdkscreen.c (gdk_screen_class_init): Document the
+ "size-changed" signal.
+
+ * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
+ Document the "display-opened" signal.
+
+ * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
+ (gdk_display_class_init): Document the "closed" signal.
+
Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktextview.[ch]: rename property tab_moves_focus to
+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
+ "direction-changed" and "keys-changed" signals.
+
+ * gdk/gdkscreen.c (gdk_screen_class_init): Document the
+ "size-changed" signal.
+
+ * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init):
+ Document the "display-opened" signal.
+
+ * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
+ (gdk_display_class_init): Document the "closed" signal.
+
Sat Sep 27 16:02:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktextview.[ch]: rename property tab_moves_focus to
2003-09-30 Matthias Clasen <maclas@gmx.de>
+ * gdk/tmpl/keys.sgml: Small addition.
+
+ * gdk/gdk-sections.txt: Add GdkDisplayClass and GdkScreenClass.
+
* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufLoaderClass.
2003-09-22 Matthias Clasen <maclas@gmx.de>
GDK_DISPLAY_OBJECT
GDK_IS_DISPLAY
GDK_TYPE_DISPLAY
-gdk_display_get_type
GDK_DISPLAY_CLASS
GDK_IS_DISPLAY_CLASS
GDK_DISPLAY_GET_CLASS
<SUBSECTION Private>
gdk_display_open_default_libgtk_only
+gdk_display_get_type
+GdkDisplayClass
</SECTION>
<SECTION>
GDK_SCREEN
GDK_IS_SCREEN
GDK_TYPE_SCREEN
-gdk_screen_get_type
GDK_SCREEN_CLASS
GDK_IS_SCREEN_CLASS
GDK_SCREEN_GET_CLASS
+<SUBSECTION Private>
+GdkScreenClass
+gdk_screen_get_type
</SECTION>
<SECTION>
</para>
<para>
-One #GdkKeymap object exists for each user display. GTK 2 supports only one
-display, so gdk_keymap_get_default() returns the singleton #GdkKeymap. A keymap
+One #GdkKeymap object exists for each user display. gdk_keymap_get_default()
+returns the #GdkKeymap for the default display; to obtain keymaps for other
+displays, use gdk_keymap_get_for_display(). A keymap
is a mapping from #GdkKeymapKey to key values. You can think of a #GdkKeymapKey
as a representation of a symbol printed on a physical keyboard key. That is, it
contains three pieces of information. First, it contains the hardware keycode;
@keymap: a #GdkKeymap or %NULL to use the default keymap.
Returns: %PANGO_DIRECTION_LTR or %PANGO_DIRECTION_RTL.
-@Returns:
+@Returns: the direction of the keymap.
<!-- ##### FUNCTION gdk_keyval_name ##### -->
object_class->finalize = gdk_display_finalize;
object_class->dispose = gdk_display_dispose;
+ /**
+ * GdkDisplay::closed:
+ * @display: the object on which the signal is emitted
+ * @is_error: %TRUE if the display was closed due to an error
+ *
+ * The ::closed signal is emitted when the connection to the windowing
+ * system for @display is closed.
+ *
+ * Since: 2.2
+ */
signals[CLOSED] =
g_signal_new ("closed",
G_OBJECT_CLASS_TYPE (object_class),
* gdk_display_close:
* @display: a #GdkDisplay
*
- * Closes the connection windowing system for the given display,
+ * Closes the connection to the windowing system for the given display,
* and cleans up associated resources.
*
* Since: 2.2
object_class->set_property = gdk_display_manager_set_property;
object_class->get_property = gdk_display_manager_get_property;
+ /**
+ * GdkDisplayManager::display-opened:
+ * @display_manager: the object on which the signal is emitted
+ * @display: the opened display
+ *
+ * The ::display_opened signal is emitted when a display is opened.
+ *
+ * Since: 2.2
+ */
signals[DISPLAY_OPENED] =
g_signal_new ("display_opened",
G_OBJECT_CLASS_TYPE (object_class),
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ /**
+ * GdkKeymap::direction-changed:
+ * @keymap: the object on which the signal is emitted
+ *
+ * The ::direction_changed signal gets emitted when the direction of
+ * the keymap changes.
+ *
+ * Since: 2.0
+ */
signals[DIRECTION_CHANGED] =
g_signal_new ("direction_changed",
G_OBJECT_CLASS_TYPE (object_class),
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE,
0);
+ /**
+ * GdkKeymap::keys-changed:
+ * @keymap: the object on which the signal is emitted
+ *
+ * The ::keys_changed signal is emitted when the mapping represented by
+ * @keymap changes.
+ *
+ * Since: 2.2
+ */
signals[KEYS_CHANGED] =
g_signal_new ("keys_changed",
G_OBJECT_CLASS_TYPE (object_class),
static void
gdk_screen_class_init (GdkScreenClass *klass)
{
+ /**
+ * GdkScreen::size-changed:
+ * @screen: the object on which the signal is emitted
+ *
+ * The ::size_changed signal is emitted when the pixel width or
+ * height of a screen changes.
+ *
+ * Since: 2.2
+ */
signals[SIZE_CHANGED] =
g_signal_new ("size_changed",
G_OBJECT_CLASS_TYPE (klass),